<%@ page language="java" contentType="text/html;UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@include file="../base.jsp" %>
<%@ page import="com.bear.model.entity.forum.Topic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>扯淡吧</title>
<script>

</script>
</head>
<body>
<img src="<c:url value="/ico/egg.jpg"/>" height="50"><font class="thick">扯淡吧</font><br>
<div class="demo-info">
	<div class="demo-tip icon-tip"></div>
	<div>一天之计在于扯，快来扯淡吧！</div>
</div>		
<a href="<c:url value="/App.html"/>" class="easyui-linkbutton">首页</a>
<a href="<c:url value="/forum/newtopic.html"/>" class="easyui-linkbutton">新的话题</a>
<%List<Topic> topics = (List<Topic>)request.getAttribute("topics"); 
	for(Topic t:topics)
	{
%>
<%=t.getTitle() %>&nbsp;<%=t.getContent() %>&nbsp;<%=t.getAuthor().getUsername() %>

<% 
}
%>
<%@include file="../botton.jsp" %>
</body>
</html>